import axios from "~/axios";

export function login(username, password) {
    return axios.post('/api/admin/acl/index/login', {
        username,
        password
    });
}

export function getUserinfo() {
    return axios.get('/api/admin/acl/index/info');
}

export function getIndexMenu() {
    return axios.get('/api/admin/acl/index/menu');
}
